/**
 * @author (Gruppe G) 
 * @version (04/17/2012)
 */

package ModelLayer;

public class Lend
{
    private String date;
    private String period;
    private String status;
    private DVD dvd;
    private Person person;
    
    /**
     * Constructor for objects of class Lend
     */
    public Lend(DVD newDvd, Person newPerson, String newDate, String newPeriod, String newStatus)
    {
        dvd = newDvd;
        person = newPerson;
        date = newDate;
        period = newPeriod;
        status = newStatus;
    }
    
    /**
     * Get/Set methods for class attributes
     */
    public String getDate()
    { return date; }
    
    public String getPeriod()
    { return period; }
    
    public String getStatus()
    { return status; }
    
    public Person getPerson() 
    { return person; }
    
    public DVD getDVD() 
    { return dvd; }
    
    public void setDate(String data)
    { date = data; }
    
    public void setPeriod(String data)
    { period = data; }
    
    public void setStatus(String data)
    { status = data; }
}